<?php if (isset($pagerInfo['totalPages']) and $pagerInfo['totalPages'] > 1): ?>
<ul>
<?php if ($pagerInfo['firstUrl']): ?><li><a href="<?php echo $pagerInfo['firstUrl']?>" class="pager_link">&lt;&lt; First</a></li><?php endif;?>
<?php if ($pagerInfo['prevUrl']): ?><li><a href="<?php echo $pagerInfo['prevUrl']?>" class="pager_link">&lt; Prev</a></li><?php endif;?>
<?php foreach ($pagerInfo['urls'] as $pageUrl=>$pageNum):?>
<?php if ($pageUrl):?><li><a href="<?php echo htmlspecialchars($pageUrl); ?>" class="pager_link"><?php echo $pageNum?></a></li><?php else:?><li class="disabled"><a href="#"><?php echo $pageNum?></a><li><?php endif;?>
<?php endforeach; ?>
<?php if ($pagerInfo['nextUrl']): ?><li><a href="<?php echo $pagerInfo['nextUrl'];?>" class="pager_link">Next &gt;</a></li><?php endif;?>
<?php if ($pagerInfo['lastUrl']): ?><li><a href="<?php echo $pagerInfo['lastUrl'];?>" class="pager_link">Last &gt;&gt;</a></li><?php endif;?>
</ul>
<?php else:?>
	&nbsp;
<?php endif;?>